package uk.co.cocking.getinline2.pipeline.io;

import java.io.StringReader;
import java.util.List;

import uk.co.cocking.getinline2.pipeline.transformers.AbstractTransformer;

public class StringLineReader extends AbstractTransformer<String, String> {
	
	@Override
	public List<String> transform(String input) throws CouldNotProcessRecordException {
		return new LineReader(new StringReader(input)).lines();
	}
	
}